﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsStateService.Monitor
{
    public class CPUInfo
    {
        /// <summary>
        /// 操作系统类型，32或64
        /// </summary>
        public uint AddressWidth { get; set; }
        /// <summary>
        /// 处理器的名称。如：Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 处理器的当前实例的数目。如：4。4核
        /// </summary>
        public uint NumberOfEnabledCore { get; set; }
        /// <summary>
        /// 用于处理器的当前实例逻辑处理器的数量。如：4。4线程
        /// </summary>
        public uint NumberOfLogicalProcessors { get; set; }
        /// <summary>
        /// 系统的名称。计算机名称。如：GREAMBWANG
        /// </summary>
        public string SystemName { get; set; }

        public float? Temperature { get; set; } = -1;

        public float? Usage { get; set; } = -1;
    }
}
